package com.zkh.myframe.annotation.validate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 验证器之字符串类型不能为null和空白字符
 * @author zkh
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface NotBlank {
	/**
	 * 字段为null或字符串不为空白字符
	 */
	String message();
}
